package org.bee.secuirty.model;

import java.util.List;

/**
 * 令牌包含的信息
 */
public class TokenInfo {
    /**
     * 用户信息
     */
    private UserInfo userInfo;
    /**
     * 用户接口权限信息
     */
    private List<String> userApis;
    /**
     * 用户元素权限信息
     */
    private List<String> userElements;

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public List<String> getUserApis() {
        return userApis;
    }

    public void setUserApis(List<String> userApis) {
        this.userApis = userApis;
    }

    public List<String> getUserElements() {
        return userElements;
    }

    public void setUserElements(List<String> userElements) {
        this.userElements = userElements;
    }

}
